package com.dunka.demo.util;

/**
 * @Author Dunka
 * @Description //TODO
 * @Date 10:24   2019/7/30
 * @ClassName Page
 */
public class Page {
    private int pageIndex;
    private int pageSize;
    private int pageCount;
    private Object pageContent;

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public Object getPageContent() {
        return pageContent;
    }

    public void setPageContent(Object pageContent) {
        this.pageContent = pageContent;
    }

    @Override
    public String toString() {
        return "Page{" +
                "pageIndex=" + pageIndex +
                ", pageSize=" + pageSize +
                ", pageCount=" + pageCount +
                ", pageContent=" + pageContent +
                '}';
    }
}
